//
//  Calculator.h
//  CodeFor链式编程
//
//  Created by relax on 2017/11/16.
//  Copyright © 2017年 relax. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Calculator : NSObject

- (Calculator *(^)(NSInteger sumNum))sum;

- (Calculator *(^)(NSInteger subNum))sub;

- (Calculator *(^)(NSInteger mutilNum))mutil;

- (Calculator *(^)(NSInteger divNum))div;

- (NSInteger)result;

- (Calculator * (^)(NSString *name))name;

- (Calculator * (^)(NSString *address))address;

- (NSString *)introduction;

@end
